<!--
*Author：DGZ
 *Contact：jiduxiong@dagongzao.com
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *业务请在@/extension/bizappproject/product_info/Product_Info.jsx此处编写
 -->
<template>
    <view-grid ref="grid"
               :columns="columns"
               :detail="detail"
               :details="details"
               :editFormFields="editFormFields"
               :editFormOptions="editFormOptions"
               :searchFormFields="searchFormFields"
               :searchFormOptions="searchFormOptions"
               :table="table"
               :extend="extend">
    </view-grid>
</template>
<script>
    import extend from "@/extension/bizappproject/product_info/Product_Info.jsx";
    import { ref, defineComponent } from "vue";
    export default defineComponent({
        name: "Product_Info",
        setup() {
            const table = ref({
                key: "Id",
                footer: "Foots",
                cnName: "产品工艺单录入",
                name: "product_info/Product_Info",
                newTabEdit: false,
                url: "/Product_Info/",
                sortName: "Id"
            });
            const editFormFields = ref({"MainInfo":"","Name":"","Grade":"","Plating":"","PartnerBlueprintNo":"","PartnerBlueprintVersion":"","Magnetizing":"","AtmcnBlueprintNo":"","PartName":"","PartNo":"","Application":"","ByproductTopIds":[],"ShareTopIds":[],"PlantIds":[],"OriginalProductCode":"","BlankForSaleOk":"","Exterimental":"","RecycleFlg":"","OemProductOk":"","ProductRemark":"","ProductInfo":"","Weight":"","SurfaceArea":"","ProductShape":"","ProductShapeId":"","ChanpinProductDimesSize1":"","ChanpinProductDimesSize2":"","ChanpinProductDimesSize3":"","ChanpinProductTol1":"","ChanpinProductTol2":"","ChanpinProductTol3":"","GeoType1":"","GeoValue1":"","GeoRemark1":"","GeoType2":"","GeoValue2":"","GeoRemark2":"","GeoType3":"","GeoValue3":"","GeoRemark3":"","GeoType4":"","GeoValue4":"","GeoRemark4":"","GeoType5":"","GeoValue5":"","GeoRemark5":"","MaterialInfo":"","MaterialGrade":"","SteelGradeId":"","RemarkCipianjiao":"","SinteringType":"","RoughShape":"","RoughShapeId":"","MagneticAngle":"","DimenSize1":"","DimenSize2":"","DimenSize3":"","DimenTol1":"","DimenTol2":"","DimenTol3":"","RemarkCailiao":"","RemarkPackaging":"","PermeationInfo":"","GradeAfterPermeation":"","PermeationGongyiId":"","WorkcenterType2":"","MrpWorkcenter2":"","Magnetic":"","PlatingInfo":"","DaojiaoId":"","DucenghouduId":"","ChamferRequirements":"","WorkcenterType3":"","MrpWorkcenter3":"","WorkcenterType4":"","MrpWorkcenter4":"","PassRate2":"","RemarkDiandu":"","PackingInfo":"","QtyPerChest":"","QtyPerBox":"","QtyPerBag":"","QualityInfo":"","BlankInspectType1":"","BlankInspectOQC1":"","BlankInspectQClevel1":"","BlankInspectSampleQty1":"","BlankInspectType2":"","BlankInspectOQC2":"","BlankInspectQClevel2":"","BlankInspectSampleQty2":"","BH_Temperature":"","BH_br_range":"","BH_hcb_range":"","BH_hcj_range":"","BH_bh_range":"","BH_hk_range":"","BH_hd5_range":"","BH_percent_range":"","BlankAppearRequirement":""});
            const editFormOptions = ref([[{"title":"一、产品主要信息","field":"MainInfo","disabled":true,"colSize":12,"type":"selectTable"}],
                              [{"title":"产品代码","field":"Name","type":"text"},
                               {"dataKey":"BF_Grade","data":[],"title":"性能","field":"Grade","disabled":true,"type":"select"},
                               {"dataKey":"BF_Plating","data":[],"title":"镀层","field":"Plating","disabled":true,"type":"select"},
                               {"title":"客户图纸号","field":"PartnerBlueprintNo","disabled":true,"type":"text"},
                               {"title":"客户图纸版本","field":"PartnerBlueprintVersion","disabled":true,"type":"text"},
                               {"title":"充磁","field":"Magnetizing","disabled":true}],
                              [{"title":"安泰图纸号","field":"AtmcnBlueprintNo","type":"text"},
                               {"title":"零件名称/SAP","field":"PartName","type":"text"},
                               {"title":"零件号/组装号","field":"PartNo","type":"text"},
                               {"dataKey":"BF_Application","data":[],"title":"应用类型","field":"Application","type":"select"},
                               {"dataKey":"Product_Info","data":[],"title":"产出其他产品","field":"ByproductTopIds","type":"selectList"},
                               {"dataKey":"Product_Info","data":[],"title":"共享库存工艺单","field":"ShareTopIds","type":"selectList"}],
                              [{"dataKey":"技术-所属工厂","data":[],"title":"所属工厂","field":"PlantIds","type":"selectList"},
                               {"title":"原发产品代码","field":"OriginalProductCode"},
                               {"title":"毛坯发货","field":"BlankForSaleOk","type":"switch"},
                               {"title":"实验产品","field":"Exterimental","type":"switch"},
                               {"title":"再循环材料制作","field":"RecycleFlg","type":"switch"},
                               {"title":"OEM产品","field":"OemProductOk","type":"switch"}],
                              [{"title":"产品备注","field":"ProductRemark","colSize":12,"type":"textarea"}],
                              [{"title":"二、产品信息","field":"ProductInfo","disabled":true,"colSize":12,"type":"selectTable"}],
                              [{"title":"产品-单重（g）","field":"Weight","type":"decimal"},
                               {"title":"产品-表面积（mm^2）","field":"SurfaceArea","type":"decimal"},
                               {"title":"产品-产品尺寸","field":"ProductShape","disabled":true},
                               {"title":"产品-产品尺寸ID","field":"ProductShapeId","disabled":true,"type":"number"}],
                              [{"title":"产品-维度1尺寸(长、直径)","field":"ChanpinProductDimesSize1","type":"decimal"},
                               {"title":"产品-维度2尺寸(宽、厚度)","field":"ChanpinProductDimesSize2","type":"decimal"},
                               {"title":"产品-维度3尺寸(厚)","field":"ChanpinProductDimesSize3","type":"decimal"},
                               {"title":"产品-维度1公差(范围)","field":"ChanpinProductTol1"},
                               {"title":"产品-维度2公差(范围)","field":"ChanpinProductTol2"},
                               {"title":"产品-维度3公差(范围)","field":"ChanpinProductTol3"}],
                              [{"dataKey":"BF_Geo_Type","data":[],"title":"形位类型1","field":"GeoType1","type":"select"},
                               {"title":"形位值1","field":"GeoValue1"},
                               {"title":"形位备注1","field":"GeoRemark1"},
                               {"dataKey":"BF_Geo_Type","data":[],"title":"形位类型2","field":"GeoType2","type":"select"},
                               {"title":"形位值2","field":"GeoValue2"},
                               {"title":"形位备注2","field":"GeoRemark2"}],
                              [{"dataKey":"BF_Geo_Type","data":[],"title":"形位类型3","field":"GeoType3","type":"select"},
                               {"title":"形位值3","field":"GeoValue3"},
                               {"title":"形位备注3","field":"GeoRemark3"},
                               {"dataKey":"BF_Geo_Type","data":[],"title":"形位类型4","field":"GeoType4","type":"select"},
                               {"title":"形位值4","field":"GeoValue4"},
                               {"title":"形位备注4","field":"GeoRemark4"}],
                              [{"dataKey":"BF_Geo_Type","data":[],"title":"形位类型5","field":"GeoType5","type":"select"},
                               {"title":"形位值5","field":"GeoValue5"},
                               {"title":"形位备注5","field":"GeoRemark5"}],
                              [{"title":"三、材料信息","field":"MaterialInfo","disabled":true,"colSize":12,"type":"selectTable"}],
                              [{"dataKey":"BF_Grade","data":[],"title":"材料性能","field":"MaterialGrade","type":"select"},
                               {"dataKey":"BF_SteelGrade","data":[],"title":"钢号","field":"SteelGradeId","type":"select"},
                               {"title":"磁偏角要求","field":"RemarkCipianjiao"},
                               {"dataKey":"BF_Sintering_Type","data":[],"title":"烧结工艺","field":"SinteringType","type":"select"},
                               {"title":"毛坯尺寸（mm）","field":"RoughShape","disabled":true},
                               {"title":"毛坯尺寸Id","field":"RoughShapeId","disabled":true,"type":"number"}],
                              [{"title":"磁方向角度（°）","field":"MagneticAngle","type":"decimal"}],
                              [{"title":"维度1尺寸（mm）","field":"DimenSize1","type":"decimal"},
                               {"title":"维度2尺寸（mm）","field":"DimenSize2","type":"decimal"},
                               {"title":"维度3尺寸（mm）","field":"DimenSize3","type":"decimal"},
                               {"title":"维度1公差（范围）","field":"DimenTol1"},
                               {"title":"维度2公差（范围）","field":"DimenTol2"},
                               {"title":"维度3公差（范围）","field":"DimenTol3"}],
                              [{"title":"出货要求","field":"RemarkCailiao","colSize":12,"type":"textarea"}],
                              [{"title":"包装要求","field":"RemarkPackaging","colSize":12,"type":"textarea"}],
                              [{"title":"五、渗透信息","field":"PermeationInfo","disabled":true,"colSize":12,"type":"selectTable"}],
                              [{"title":"渗透后磁性能","field":"GradeAfterPermeation"},
                               {"dataKey":"BF_Permeation_Gongyi","data":[],"title":"渗透工艺","field":"PermeationGongyiId","type":"select"},
                               {"dataKey":"BF_Workcenter_Type","data":[],"title":"渗透车间类型","field":"WorkcenterType2","type":"select"},
                               {"dataKey":"BF_Mrp_Workcenter","data":[],"title":"渗透加工车间","field":"MrpWorkcenter2","type":"select"},
                               {"title":"磁性能性能要求","field":"Magnetic"}],
                              [{"title":"六、电镀信息","field":"PlatingInfo","disabled":true,"colSize":12,"type":"selectTable"}],
                              [{"title":"倒角要求ID","field":"DaojiaoId"},
                               {"title":"镀层厚度（mm）","field":"DucenghouduId"},
                               {"title":"倒角要求","field":"ChamferRequirements","type":"textarea"}],
                              [{"dataKey":"BF_Workcenter_Type","data":[],"title":"电镀1车间类型","field":"WorkcenterType3","type":"select"},
                               {"dataKey":"BF_Mrp_Workcenter","data":[],"title":"电镀1工作中心","field":"MrpWorkcenter3","type":"select"},
                               {"dataKey":"BF_Workcenter_Type","data":[],"title":"电镀2车间类型","field":"WorkcenterType4","type":"select"},
                               {"dataKey":"BF_Mrp_Workcenter","data":[],"title":"电镀2工作中心","field":"MrpWorkcenter4","type":"select"},
                               {"title":"电镀2合格率","field":"PassRate2","type":"decimal"}],
                              [{"title":"电镀其他要求","field":"RemarkDiandu","colSize":12,"type":"textarea"}],
                              [{"title":"七、检包信息","field":"PackingInfo","disabled":true,"colSize":12,"type":"selectTable"}],
                              [{"title":"每箱数量（pcs）","field":"QtyPerChest","type":"number"},
                               {"title":"每盒数量（pcs）","field":"QtyPerBox","type":"number"},
                               {"title":"每袋数量（pcs）","field":"QtyPerBag","type":"number"}],
                              [{"title":"九、质量信息","field":"QualityInfo","disabled":true,"colSize":12,"type":"selectTable"}],
                              [{"dataKey":"BF_Inspect_Type","data":[],"title":"毛坯检验项目1","field":"BlankInspectType1","disabled":true,"type":"select"},
                               {"title":"毛坯OQC标记1","field":"BlankInspectOQC1","type":"switch"},
                               {"dataKey":"BF_QC_Level","data":[],"title":"毛坯QC级别1","field":"BlankInspectQClevel1","type":"select"},
                               {"title":"毛坯送样数量1","field":"BlankInspectSampleQty1","type":"number"}],
                              [{"dataKey":"BF_Inspect_Type","data":[],"title":"毛坯检验项目2外观","field":"BlankInspectType2","disabled":true,"type":"select"},
                               {"title":"毛坯OQC标记2","field":"BlankInspectOQC2","type":"switch"},
                               {"dataKey":"BF_QC_Level","data":[],"title":"毛坯QC级别2","field":"BlankInspectQClevel2","type":"select"},
                               {"title":"毛坯送样数量2","field":"BlankInspectSampleQty2","type":"number"}],
                              [{"title":"毛坯BH曲线检验常温温度","field":"BH_Temperature","type":"decimal"},
                               {"title":"毛坯BH曲线检验Br范围","field":"BH_br_range"},
                               {"title":"毛坯BH曲线检验Hcb范围","field":"BH_hcb_range"},
                               {"title":"毛坯BH曲线检验Hcj范围","field":"BH_hcj_range"}],
                              [{"title":"毛坯BH曲线检验Bh范围","field":"BH_bh_range"},
                               {"title":"毛坯BH曲线检验Hk范围","field":"BH_hk_range"},
                               {"title":"毛坯BH曲线检验Hd5范围","field":"BH_hd5_range"},
                               {"title":"毛坯BH曲线检验Hk/Hcj范围","field":"BH_percent_range"}],
                              [{"title":"毛坯外观要求","field":"BlankAppearRequirement","colSize":12,"type":"textarea"}]]);
            const searchFormFields = ref({"Name":""});
            const searchFormOptions = ref([[{"title":"产品代码","field":"Name","type":"like"}]]);
            const columns = ref([{field:"Id",title:"键",type:"bigint",width:110,hidden:true,readonly:true,require:true,showOverflowTooltip:true,align:"left"},
                       {field:"IsValid",title:"是否有效(0:否,1:是)",type:"int",width:110,hidden:true,require:true,showOverflowTooltip:true,align:"left"},
                       {field:"Remarks",title:"备注",type:"string",width:110,hidden:true,showOverflowTooltip:true,align:"left"},
                       {field:"CreateId",title:"创建人ID",type:"bigint",width:80,hidden:true,require:true,showOverflowTooltip:true,align:"left"},
                       {field:"Creator",title:"创建人名",type:"string",width:100,hidden:true,showOverflowTooltip:true,align:"left"},
                       {field:"CreateTime",title:"创建时间",type:"datetime",width:110,hidden:true,showOverflowTooltip:true,align:"left"},
                       {field:"ModifyId",title:"修改人ID",type:"bigint",width:80,hidden:true,showOverflowTooltip:true,align:"left"},
                       {field:"Modifier",title:"修改人名",type:"string",width:100,hidden:true,showOverflowTooltip:true,align:"left"},
                       {field:"ModifyTime",title:"修改时间",type:"datetime",width:110,hidden:true,showOverflowTooltip:true,align:"left"},
                       {field:"MainInfo",title:"一、产品主要信息",type:"string",width:120,hidden:true,readonly:true,showOverflowTooltip:true,align:"left"},
                       {field:"Name",title:"产品代码",type:"string",width:150,showOverflowTooltip:true,align:"left"},
                       {field:"Grade",title:"性能",type:"string",bind:{ key:"BF_Grade",data:[]},width:150,readonly:true,showOverflowTooltip:true,align:"left"},
                       {field:"Plating",title:"镀层",type:"string",bind:{ key:"BF_Plating",data:[]},width:150,readonly:true,showOverflowTooltip:true,align:"left"},
                       {field:"PartnerBlueprintNo",title:"客户图纸号",type:"string",width:150,readonly:true,showOverflowTooltip:true,align:"left"},
                       {field:"PartnerBlueprintVersion",title:"客户图纸版本",type:"string",width:150,readonly:true,showOverflowTooltip:true,align:"left"},
                       {field:"Magnetizing",title:"充磁",type:"string",width:150,readonly:true,showOverflowTooltip:true,align:"left"},
                       {field:"AtmcnBlueprintNo",title:"安泰图纸号",type:"string",width:150,showOverflowTooltip:true,align:"left"},
                       {field:"PartName",title:"零件名称/SAP",type:"string",width:150,showOverflowTooltip:true,align:"left"},
                       {field:"PartNo",title:"零件号/组装号",type:"string",width:150,showOverflowTooltip:true,align:"left"},
                       {field:"Application",title:"应用类型",type:"string",bind:{ key:"BF_Application",data:[]},width:150,showOverflowTooltip:true,align:"left"},
                       {field:"ByproductTopIds",title:"产出其他产品",type:"string",bind:{ key:"Product_Info",data:[]},width:150,showOverflowTooltip:true,align:"left"},
                       {field:"ShareTopIds",title:"共享库存工艺单",type:"string",bind:{ key:"Product_Info",data:[]},width:150,showOverflowTooltip:true,align:"left"},
                       {field:"PlantIds",title:"所属工厂",type:"string",bind:{ key:"技术-所属工厂",data:[]},width:150,showOverflowTooltip:true,align:"left"},
                       {field:"OriginalProductCode",title:"原发产品代码",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"BlankForSaleOk",title:"毛坯发货",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"Exterimental",title:"实验产品",type:"string",width:150,showOverflowTooltip:true,align:"left"},
                       {field:"RecycleFlg",title:"再循环材料制作",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ProductRemark",title:"产品备注",type:"string",width:150,showOverflowTooltip:true,align:"left"},
                       {field:"OemProductOk",title:"OEM产品",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ProductInfo",title:"二、产品信息",type:"string",width:120,hidden:true,readonly:true,showOverflowTooltip:true,align:"left"},
                       {field:"Weight",title:"产品-单重（g）",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"SurfaceArea",title:"产品-表面积（mm^2）",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ProductShape",title:"产品-产品尺寸",type:"string",width:120,readonly:true,showOverflowTooltip:true,align:"left"},
                       {field:"ProductShapeId",title:"产品-产品尺寸ID",type:"int",width:120,readonly:true,showOverflowTooltip:true,align:"left"},
                       {field:"ChanpinProductDimesSize1",title:"产品-维度1尺寸(长、直径)",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ChanpinProductDimesSize2",title:"产品-维度2尺寸(宽、厚度)",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ChanpinProductDimesSize3",title:"产品-维度3尺寸(厚)",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ChanpinProductTol1",title:"产品-维度1公差(范围)",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ChanpinProductTol2",title:"产品-维度2公差(范围)",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ChanpinProductTol3",title:"产品-维度3公差(范围)",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"GeoType1",title:"形位类型1",type:"string",bind:{ key:"BF_Geo_Type",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"GeoValue1",title:"形位值1",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"GeoRemark1",title:"形位备注1",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"GeoType2",title:"形位类型2",type:"string",bind:{ key:"BF_Geo_Type",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"GeoValue2",title:"形位值2",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"GeoRemark2",title:"形位备注2",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"GeoType3",title:"形位类型3",type:"string",bind:{ key:"BF_Geo_Type",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"GeoValue3",title:"形位值3",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"GeoRemark3",title:"形位备注3",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"GeoType4",title:"形位类型4",type:"string",bind:{ key:"BF_Geo_Type",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"GeoValue4",title:"形位值4",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"GeoRemark4",title:"形位备注4",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"GeoType5",title:"形位类型5",type:"string",bind:{ key:"BF_Geo_Type",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"GeoValue5",title:"形位值5",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"GeoRemark5",title:"形位备注5",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"MaterialInfo",title:"三、材料信息",type:"string",width:120,hidden:true,readonly:true,showOverflowTooltip:true,align:"left"},
                       {field:"MaterialGrade",title:"材料性能",type:"string",bind:{ key:"BF_Grade",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"SteelGradeId",title:"钢号",type:"string",bind:{ key:"BF_SteelGrade",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"RemarkCipianjiao",title:"磁偏角要求",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"SinteringType",title:"烧结工艺",type:"string",bind:{ key:"BF_Sintering_Type",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"RemarkCailiao",title:"出货要求",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"RoughShape",title:"毛坯尺寸（mm）",type:"string",width:120,readonly:true,showOverflowTooltip:true,align:"left"},
                       {field:"RemarkPackaging",title:"包装要求",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"RoughShapeId",title:"毛坯尺寸Id",type:"int",width:120,hidden:true,readonly:true,showOverflowTooltip:true,align:"left"},
                       {field:"MagneticAngle",title:"磁方向角度（°）",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DimenSize1",title:"维度1尺寸（mm）",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DimenSize2",title:"维度2尺寸（mm）",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DimenSize3",title:"维度3尺寸（mm）",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DimenTol1",title:"维度1公差（范围）",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DimenTol2",title:"维度2公差（范围）",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DimenTol3",title:"维度3公差（范围）",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"PermeationInfo",title:"五、渗透信息",type:"string",width:120,hidden:true,readonly:true,showOverflowTooltip:true,align:"left"},
                       {field:"GradeAfterPermeation",title:"渗透后磁性能",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"PermeationGongyiId",title:"渗透工艺",type:"string",bind:{ key:"BF_Permeation_Gongyi",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WorkcenterType2",title:"渗透车间类型",type:"string",bind:{ key:"BF_Workcenter_Type",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"MrpWorkcenter2",title:"渗透加工车间",type:"string",bind:{ key:"BF_Mrp_Workcenter",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"Magnetic",title:"磁性能性能要求",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"PlatingInfo",title:"六、电镀信息",type:"string",width:120,readonly:true,showOverflowTooltip:true,align:"left"},
                       {field:"DaojiaoId",title:"倒角要求ID",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DucenghouduId",title:"镀层厚度（mm）",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"RemarkDiandu",title:"电镀其他要求",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WorkcenterType3",title:"电镀1车间类型",type:"string",bind:{ key:"BF_Workcenter_Type",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"MrpWorkcenter3",title:"电镀1工作中心",type:"string",bind:{ key:"BF_Mrp_Workcenter",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ChamferRequirements",title:"倒角要求",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WorkcenterType4",title:"电镀2车间类型",type:"string",bind:{ key:"BF_Workcenter_Type",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"MrpWorkcenter4",title:"电镀2工作中心",type:"string",bind:{ key:"BF_Mrp_Workcenter",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"PassRate2",title:"电镀2合格率",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"PackingInfo",title:"七、检包信息",type:"string",width:120,hidden:true,readonly:true,showOverflowTooltip:true,align:"left"},
                       {field:"QtyPerChest",title:"每箱数量（pcs）",type:"int",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"QtyPerBox",title:"每盒数量（pcs）",type:"int",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"QtyPerBag",title:"每袋数量（pcs）",type:"int",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"QualityInfo",title:"九、质量信息",type:"string",width:120,hidden:true,readonly:true,showOverflowTooltip:true,align:"left"},
                       {field:"BlankInspectType1",title:"毛坯检验项目1",type:"string",bind:{ key:"BF_Inspect_Type",data:[]},width:120,readonly:true,showOverflowTooltip:true,align:"left"},
                       {field:"BlankInspectOQC1",title:"毛坯OQC标记1",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"BlankInspectQClevel1",title:"毛坯QC级别1",type:"string",bind:{ key:"BF_QC_Level",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"BlankInspectSampleQty1",title:"毛坯送样数量1",type:"int",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"BlankInspectType2",title:"毛坯检验项目2外观",type:"string",bind:{ key:"BF_Inspect_Type",data:[]},width:120,readonly:true,showOverflowTooltip:true,align:"left"},
                       {field:"BlankInspectOQC2",title:"毛坯OQC标记2",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"BlankInspectQClevel2",title:"毛坯QC级别2",type:"string",bind:{ key:"BF_QC_Level",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"BlankInspectSampleQty2",title:"毛坯送样数量2",type:"int",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"BlankAppearRequirement",title:"毛坯外观要求",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"BH_Temperature",title:"毛坯BH曲线检验常温温度",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"BH_br_range",title:"毛坯BH曲线检验Br范围",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"BH_hcb_range",title:"毛坯BH曲线检验Hcb范围",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"BH_hcj_range",title:"毛坯BH曲线检验Hcj范围",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"BH_bh_range",title:"毛坯BH曲线检验Bh范围",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"BH_hk_range",title:"毛坯BH曲线检验Hk范围",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"BH_hd5_range",title:"毛坯BH曲线检验Hd5范围",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"BH_percent_range",title:"毛坯BH曲线检验Hk/Hcj范围",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectType1",title:"白片检验项目1",type:"string",bind:{ key:"BF_Inspect_Type",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectOQC1",title:"白片OQC标记1",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectQClevel1",title:"白片QC级别1",type:"string",bind:{ key:"BF_QC_Level",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectSampleQty1",title:"白片送样数量1",type:"int",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"PlatingThicknessMin",title:"镀层厚度最小值",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"PlatingThicknessMax",title:"镀层厚度最大值",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ThicknessFirst",title:"第一层厚度",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ThicknessSecond",title:"第二层厚度",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ThicknessThird",title:"第三层厚度",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectType2",title:"白片检验项目2",type:"string",bind:{ key:"BF_Inspect_Type",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectOQC2",title:"白片OQC标记2",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectQClevel2",title:"白片QC级别2",type:"string",bind:{ key:"BF_QC_Level",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectSampleQty2",title:"白片送样数量2",type:"int",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"MagneticFluxValue",title:"磁通",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"MagneticFluxUp",title:"磁通上限",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"MagneticFluxDown",title:"磁通下限",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"SurfaceUp",title:"表磁上限",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"SurfaceDown",title:"表磁下限",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"OneHours",title:"一次烘烤时长",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"OneTemperature",title:"一次烘烤温度",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"OneBakingCon",title:"一次烘烤条件",type:"string",bind:{ key:"BF_1st RBC-MF",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"MagneticFluxRemark",title:"磁通检验备注",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectType3",title:"白片检验项目3",type:"string",bind:{ key:"BF_Inspect_Type",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectOQC3",title:"白片OQC标记3",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectQClevel3",title:"白片QC级别3",type:"string",bind:{ key:"BF_QC_Level",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectSampleQty3",title:"白片送样数量3",type:"int",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"SaltMistCondition",title:"盐雾试验条件",type:"string",bind:{ key:"BF_salt_experiment",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"SaltMistTime",title:"盐雾试验要求时间",type:"int",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"SaltMistRemark",title:"盐雾备注",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectType4",title:"白片检验项目4",type:"string",bind:{ key:"BF_Inspect_Type",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectOQC4",title:"白片OQC标记4",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectQClevel4",title:"白片QC级别4",type:"string",bind:{ key:"BF_QC_Level",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectSampleQty4",title:"白片送样数量4",type:"int",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"SurfaceTensionCondition",title:"表面张力测试方式",type:"string",bind:{ key:"BF_surface_inspect",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"SurfaceTensionValueLiquid",title:"表面张力达因号",type:"string",bind:{ key:"BF_surface_liquid",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"SurfaceTensionRemark",title:"表面张力备注",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectType5",title:"白片检验项目5",type:"string",bind:{ key:"BF_Inspect_Type",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectOQC5",title:"白片OQC标记5",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectQClevel5",title:"白片QC级别5",type:"string",bind:{ key:"BF_QC_Level",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectSampleQty5",title:"白片送样数量5",type:"int",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"TapeRemark",title:"胶带测试备注",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectType6",title:"白片检验项目6",type:"string",bind:{ key:"BF_Inspect_Type",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectOQC6",title:"白片OQC标记6",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectQClevel6",title:"白片QC级别6",type:"string",bind:{ key:"BF_QC_Level",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectSampleQty6",title:"白片送样数量6",type:"int",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DampHeatCondition",title:"湿热试验条件",type:"string",bind:{ key:"BF_Damp_Heat_Testing",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DampHeatRemark",title:"湿热备注",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectType7",title:"白片检验项目7",type:"string",bind:{ key:"BF_Inspect_Type",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectOQC7",title:"白片OQC标记7",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectQClevel7",title:"白片QC级别7",type:"string",bind:{ key:"BF_QC_Level",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectSampleQty7",title:"白片送样数量7",type:"int",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"PctCondition",title:"PCT试验条件",type:"string",bind:{ key:"BF_PCT_TEST",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"PctTime",title:"PCT试验要求时间",type:"int",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"PctRemark",title:"PCT备注",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectType8",title:"白片检验项目8",type:"string",bind:{ key:"BF_Inspect_Type",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectOQC8",title:"白片OQC标记8",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectQClevel8",title:"白片QC级别8",type:"string",bind:{ key:"BF_QC_Level",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectSampleQty8",title:"白片送样数量8",type:"int",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"GlossValueMax",title:"光泽度最大值",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"GlossValueMin",title:"光泽度最小值",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectType9",title:"白片检验项目9",type:"string",bind:{ key:"BF_Inspect_Type",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectOQC9",title:"白片OQC标记9",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectQClevel9",title:"白片QC级别9",type:"string",bind:{ key:"BF_QC_Level",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectSampleQty9",title:"白片送样数量9",type:"int",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"BakeMistRemark",title:"表面烘烤备注",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"BakeMistTime",title:"烘烤要求时间",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectType10",title:"白片检验项目10",type:"string",bind:{ key:"BF_Inspect_Type",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectOQC10",title:"白片OQC标记10",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectQClevel10",title:"白片QC级别10",type:"string",bind:{ key:"BF_QC_Level",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectSampleQty10",title:"白片送样数量10",type:"int",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"LostCondition",title:"失重试验条件",type:"string",bind:{ key:"BF_Damp_Heat_Testing",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"LostTime",title:"失重试验时间",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"LostStandardVal",title:"失重标准值",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"LostRemark",title:"失重备注",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectType11",title:"白片检验项目11",type:"string",bind:{ key:"BF_Inspect_Type",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectOQC11",title:"白片OQC标记11",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectQClevel11",title:"白片QC级别11",type:"string",bind:{ key:"BF_QC_Level",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectSampleQty11",title:"白片送样数量11",type:"int",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"AceToneWipeRemark",title:"丙酮擦拭备注",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectType12",title:"白片检验项目12",type:"string",bind:{ key:"BF_Inspect_Type",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectOQC12",title:"白片OQC标记12",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectQClevel12",title:"白片QC级别12",type:"string",bind:{ key:"BF_QC_Level",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectSampleQty12",title:"白片送样数量12",type:"int",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"CrossCutRemark",title:"百格备注",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectType13",title:"白片检验项目13",type:"string",bind:{ key:"BF_Inspect_Type",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectOQC13",title:"白片OQC标记13",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectQClevel13",title:"白片QC级别13",type:"string",bind:{ key:"BF_QC_Level",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectSampleQty13",title:"白片送样数量13",type:"int",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ShearForceMin",title:"剪切力最小值",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ShearForceMax",title:"剪切力最大值",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ShearForceRemark",title:"剪切力备注",type:"string",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectSizeInputQCLevel",title:"白片尺寸录入QC级别",type:"string",bind:{ key:"BF_QC_Level",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectSizeInputSampleQty",title:"白片尺寸录入送样数量",type:"int",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectAppearQCLevel",title:"白片外观检验QC级别",type:"string",bind:{ key:"BF_QC_Level",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectAppearSampleQty",title:"白片外观检验送样数量",type:"int",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectSampleAppearQCLevel",title:"白片简单外观检验QC级别",type:"string",bind:{ key:"BF_QC_Level",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WhiteInspectSampleAppearSampleQty",title:"白片简单外观检验送样数量",type:"int",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"MachiningInfo",title:"四、加工信息",type:"string",width:120,readonly:true,showOverflowTooltip:true,align:"left"},
                       {field:"WorkcenterType1",title:"加工1车间类型",type:"string",bind:{ key:"BF_Workcenter_Type",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"MrpWorkcenter1",title:"加工1工作中心",type:"string",bind:{ key:"BF_Mrp_Workcenter",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"PassRate1",title:"加工1合格率",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"PenaltyPassRate1",title:"加工1惩罚合格率",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"GeoType1_1",title:"加工1形位类型1",type:"string",bind:{ key:"BF_Geo_Type",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"GeoValue1_1",title:"加工1形位值1",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"GeoType1_2",title:"加工1形位类型2",type:"string",bind:{ key:"BF_Geo_Type",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"GeoValue1_2",title:"加工1形位值2",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"GeoType1_3",title:"加工1形位类型3",type:"string",bind:{ key:"BF_Geo_Type",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"GeoValue1_3",title:"加工1形位值3",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"WorkunitCatalogId1",title:"加工1加工类型",type:"string",bind:{ key:"BF_Workunit_Catalog",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"SquareUnitPriceId1",title:"加工1价格表项",type:"string",bind:{ key:"BF_Square_Unit_Price",data:[]},width:120,showOverflowTooltip:true,align:"left"},
                       {field:"Area1",title:"加工1加工面积",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"AssemblyInfo",title:"八、组装信息",type:"string",width:120,readonly:true,showOverflowTooltip:true,align:"left"}]);
            const detail = ref({columns:[]});
            const details = ref([]);
            return {
                table,
                extend,
                editFormFields,
                editFormOptions,
                searchFormFields,
                searchFormOptions,
                columns,
                detail,
                details
            };
        },
    });
</script>
